package com.bdqn.Web;

import com.bdqn.Serlvet.SerlvetImpl.TextSerlvetImpl;
import com.bdqn.Serlvet.TextSerlvet;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TextClass {
    public static void main(String[] args) {
        ApplicationContext applicationContext=new ClassPathXmlApplicationContext("spring-config.xml");
        TextSerlvet textSerlvet = (TextSerlvetImpl) applicationContext.getBean("TextImpl");
        System.out.println(textSerlvet);
    }
}
